
#include "MyGlWindow.h"

#include <FL/Fl.H>
#include <FL/Fl_Value_Slider.H>
#include <FL/Fl_Group.H>

class SoundWorld : public Fl_Group
{
    //Fl_Button the_button;
    Fl_Slider sliderXScroll;
    Fl_Slider sliderYScroll;
    Fl_Slider sliderXZoom;
    Fl_Slider sliderYZoom;
    public: MyGlWindow glWindow;

private:
    // Someone changed one of the sliders
    virtual int handle(int event);
    void setupGlWindowX();
    void setupGlWindowY();
    static void xValueChanged_CB(Fl_Widget*, void*userdata);
    static void yValueChanged_CB(Fl_Widget*, void*userdata);

public:
    SoundWorld(int x, int y, int w, int h);
};
